/*
 * @Description: 路由 - 懒加载
 *   .--,       .--,
 *   ( ( \.---./ ) )
 *   '.__/o   o\__.'
 *      {=  ^  =}
 *       >  -  <
 *      /      \
 *     // blog  \\
 *    //|   .   |\\
 *    "'\       /'"_.-~^`'-.
 *       \  _  /--'
 *     ___)( )(___
 *    (((__) (__)))
 * @Author: Mainkeys
 * @Date: 2023-09-17 17:42:20
 * @LastEditTime: 2023-09-19 23:06:40
 * @LastEditors: Mainkeys
 */
import VueRouter from 'vue-router';
import Vue from 'vue';

Vue.use(VueRouter);

const routes = [
  {
    path: '/',
    component: () => import('../pages/HomePage.vue')
  },
  {
    path: '/about',
    component: () => import('../pages/AboutPage.vue')
  },
  {
    path: '/login',
    component: () => import('../pages/login/LoginPage.vue')
  },
];

const router = new VueRouter({
  routes,
});

export default router;